package org.huanletao.ssm.model;

import javax.persistence.Column;
import javax.persistence.Transient;
import java.util.Date;

/**
 * <p>
 * </p>
 * package: org.huanletao.ssm.model
 * description:
 * className: BaseEntity
 * author:  踏雪无痕
 * copyright: Copyright (c) 2022/8/31 11:23
 * since: 1.0.0
 */
public class BaseEntity {
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "creator")
    private String creator;
    @Transient
    private String updator;
    @Transient
    private Date updateTime;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getUpdator() {
        return updator;
    }

    public void setUpdator(String updator) {
        this.updator = updator;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
